export default [
  {
    path: '/marketing/seckill',
    name: 'SeckillList',
    component: () => import('@/views/marketing/seckill/seckillList.vue'),
    meta: { title: '秒杀设置' }
  },
  {
    path: '/marketing/seckillProduct',
    name: 'SeckillProductList',
    component: () => import('@/views/marketing/seckill/seckillProductList.vue'),
    meta: { title: '秒杀产品审核' }
  },
  {
    path: '/marketing/coupon',
    meta: { title: '优惠券管理' },
    children: [
      {
        path: '/',
        name: 'CouponList',
        component: () => import('@/views/marketing/coupon/couponList.vue'),
        hidden: true
      },
      {
        path: 'detail',
        name: 'CouponListDetail',
        component: () => import('@/views/marketing/coupon/couponDetail.vue'),
        meta: { title: '优惠券详情' },
        hidden: true
      }
    ]
  }
]
